package apis

import (
	"gitee.com/byx_darwin/ncloud-go/core"
	"gitee.com/byx_darwin/ncloud-go/core/net/consts"
)

type QueryCityRequest struct {
	core.NCloudRequest
}

func NewQueryCityRequest() *QueryCityRequest {
	return &QueryCityRequest{core.NCloudRequest{
		Path:   "/gateway/city",
		Method: consts.MethodGet,
	}}
}

type QueryCityResponse struct {
	Code    int            `json:"code"`
	Msg     string         `json:"msg"`
	Data    []RegionObject `json:"data"`
	TrackID string         `json:"track_id"`
}
